<h1>Editar <?php echo $vulName?></h1>

<?php slot('actions') ?>
  <ul>
    <li> Acciones </li>
    <li><?php echo link_to('Cancelar','vulnerabilidad/index')?></li>
    <?php if (!$form->getObject()->isNew()): ?>
      <li><?php echo link_to('Borrar', 'vulnerabilidad/delete?id='.$form->getObject()->getId(), array('method' => 'delete', 'confirm' => 'Are you sure?')) ?></li>
    <?php endif; ?>
    
    <li><?php echo link_to('Volver','@homepage')?></li>
  </ul>
<?php end_slot();?>

<?php include_partial('form', array('form' => $form)) ?>
